﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Services.Common
{
    public abstract class ISMServiceProvider
    {
        public abstract Task<ISMServiceResult> doProcess(ISMServiceModel model);

        protected Task<ISMServiceResult> defaultProcess()
        {
            return Task.Factory.StartNew<ISMServiceResult>(() =>
                {
                    ISMServiceResult result = new ISMServiceResult();
                    return result;
                });
        }
    }
}
